import request from '@/utils/request'
import newrequest from '@/utils/newrequest'

const api = {
  /*
  *  分页查询空箱发运计划
  * */
  page(params) {
    return request({
      url: '/tos/rfCntrRecordService/page',
      method: 'POST',
      params
    })
  },
  /*
  *  分页查询箱信息
  * */
  queryRfRecordPage(params) {
    return request({
      url: '/tos/rfCntrRecordService/queryRfRecordPage',
      method: 'POST',
      params
    })
  },
  /*
  *  保存
  * */
  save(params) {
    return request({
      url: '/tos/rfCntrRecordService/save',
      method: 'POST',
      params
    })
  },
  /*
  *  删除
  * */
  delete(params) {
    return request({
      url: '/tos/rfCntrRecordService/delete',
      method: 'GET',
      params
    })
  },
};
export default api;
